
                    <tr>
                    	<td colspan="7" style="padding:0px;"  >
                        	<div>
                            
                     <?php
					 		if(is_numeric(@$_GET['filter'])){
								$getproducts = mysql_query("SELECT * FROM items, cat_items, category WHERE items.itemId = cat_items.item_id AND category.id = cat_id AND cat_items.cat_id = ".mysql_real_escape_string($_GET['filter']));
							}else{
								$getproducts = mysql_query("SELECT * FROM items ORDER BY itemName");
							}
							$oddcolor = 0;
							
							while($p_data = mysql_fetch_array($getproducts)){
								if($oddcolor==0){
									$col_r = NULL;
									$oddcolor = 1;
								}else{
									
									$col_r = "class =\"j_odd\"";
									$oddcolor = 0;
								}
						?>
                        	<div class="detaildiv">
							
                    			
                                	<?php 
										include('ungroupdetails.php');
									?>
                               
                  			 </div>
						<?php
							}
						?>
                        
                        </div>
                </td>
                	</tr>
                     
               